<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

        #text{
            color: red;
            font-size: 30px;
        }

        .t1{
            color: green;
            font-size: 30px;
        }
        #text2{
            color: black;
            font-size: 40px;
        }
    </style>
</head>
<body>
    <p id="text">Hello</p>
    <p id="text2">你好</p>
    <p class="t1">文本1</p>
    <P class="t1">文本2</P>
</body>
</html>